/**
 * Generate time : 2011-06-07 18:48:24
 * Version : 1.0.1.V20070717
 */
package com.baosight.sczx.zm.cm.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;

/**
 * ZMCMStockPlanDetail
 * 
 */
public class ZMCMStockPlanDetail extends DaoEPBase {

	private String fdKeyId = " "; /* 主键 */
	private String fdStockPlanId = " "; /* 采购计划主表主键 */
	private String fdMaterialId = " "; /* 物资ID */
	private String fdMaterialCode = " "; /* 物资编码 */
	private String fdMaterialInnerCode = " "; /* 物资内码 */
	private String fdMaterialName = " "; /* 物资名称 */
	private String fdSpecModel = " "; /* 规格型号 */
	private String fdNumber = " "; /* 图号 */
	private String fdQuality = " "; /* 材质 */
	private String fdMetric = " "; /* 计量单位 */
	private String fdMetricName = " "; /* 计量单位名称 */
	private Double fdPrice = new Double(0); /* 单价 */
	private Double fdSum = new Double(0); /* 采购数量 */
	private Double fdRecevieSum = new Double(0); /* 已到货数量 */
	private String fdSupplyName = " "; /* 供应商名称 */
	// 新加字段
	private Double fdStockNum = new Double(0);// 库存数量
	private Double fdSafeBaseNum = new Double(0);// 安全库存
	private Double fdNeedNum = new Double(0);// 需求数量
	private Double fdMaterialNum = new Double(0);// 物资种类
	private String fdTypeCode = " "; /* 类别编码 */
	private String fdTypeName = " "; /* 类别名称 */
	private String fdYear = " "; /* 年份 */
	private String fdMonth = " "; /* 月份 */
	private String fdPlanStatus = " "; /* 计划状态 */

	private Double fdPlanNum = new Double(0); /* 应收数量 */
	private Double fdActualNum = new Double(0); /* 实收数量 */

	private String fdRequirePlan = " "; /* 需求计划 */
	private String fdApplicationDepartmentName = " "; /* 申请单位 */
	private String fdRemark = " "; /* 备注 */
	/**
	 * initialize the metadata
	 */
	public void initMetaData() {
		EiColumn eiColumn;

		eiColumn = new EiColumn("fdKeyId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdStockPlanId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("采购计划主表主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("物资ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialInnerCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资内码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("物资名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSpecModel");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("规格型号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNumber");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("图号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdQuality");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("材质");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMetric");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("计量单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMetricName");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("计量单位名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("单价");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("采购数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRecevieSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("已到货数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSupplyName");
		eiColumn.setFieldLength(100);
		eiColumn.setDescName("供应商名称");
		eiMetadata.addMeta(eiColumn);
		// 新加数量
		eiColumn = new EiColumn("fdStockNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("库存数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSafeBaseNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("安全库存");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNeedNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("需求数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("物资种类");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdYear");
		eiColumn.setFieldLength(4);
		eiColumn.setDescName("年份");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMonth");
		eiColumn.setFieldLength(2);
		eiColumn.setDescName("月份");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPlanStatus");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("计划状态");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPlanNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("应收数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdActualNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实收数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRequirePlan");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("需求计划");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdTypeCode");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("类别编码");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdTypeName");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("类别名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdApplicationDepartmentName");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("申请单位名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdRemark");
		eiColumn.setFieldLength(250);
		eiColumn.setDescName("备注");
		eiMetadata.addMeta(eiColumn);
	}

	/**
	 * the constructor
	 */
	public ZMCMStockPlanDetail() {
		initMetaData();
	}

	/**
	 * get the fdKeyId - 主键
	 * 
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}

	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}

	/**
	 * get the fdStockPlanId - 采购计划主表主键
	 * 
	 * @return the fdStockPlanId
	 */
	public String getFdStockPlanId() {
		return this.fdStockPlanId;
	}

	/**
	 * set the fdStockPlanId - 采购计划主表主键
	 */
	public void setFdStockPlanId(String fdStockPlanId) {
		this.fdStockPlanId = fdStockPlanId;
	}

	/**
	 * get the fdMaterialId - 物资ID
	 * 
	 * @return the fdMaterialId
	 */
	public String getFdMaterialId() {
		return this.fdMaterialId;
	}

	/**
	 * set the fdMaterialId - 物资ID
	 */
	public void setFdMaterialId(String fdMaterialId) {
		this.fdMaterialId = fdMaterialId;
	}

	/**
	 * get the fdMaterialCode - 物资编码
	 * 
	 * @return the fdMaterialCode
	 */
	public String getFdMaterialCode() {
		return this.fdMaterialCode;
	}

	/**
	 * set the fdMaterialCode - 物资编码
	 */
	public void setFdMaterialCode(String fdMaterialCode) {
		this.fdMaterialCode = fdMaterialCode;
	}

	/**
	 * get the fdMaterialInnerCode - 物资内码
	 * 
	 * @return the fdMaterialInnerCode
	 */
	public String getFdMaterialInnerCode() {
		return this.fdMaterialInnerCode;
	}

	/**
	 * set the fdMaterialInnerCode - 物资内码
	 */
	public void setFdMaterialInnerCode(String fdMaterialInnerCode) {
		this.fdMaterialInnerCode = fdMaterialInnerCode;
	}

	/**
	 * get the fdMaterialName - 物资名称
	 * 
	 * @return the fdMaterialName
	 */
	public String getFdMaterialName() {
		return this.fdMaterialName;
	}

	/**
	 * set the fdMaterialName - 物资名称
	 */
	public void setFdMaterialName(String fdMaterialName) {
		this.fdMaterialName = fdMaterialName;
	}

	/**
	 * get the fdSpecModel - 规格型号
	 * 
	 * @return the fdSpecModel
	 */
	public String getFdSpecModel() {
		return this.fdSpecModel;
	}

	/**
	 * set the fdSpecModel - 规格型号
	 */
	public void setFdSpecModel(String fdSpecModel) {
		this.fdSpecModel = fdSpecModel;
	}

	/**
	 * get the fdNumber - 图号
	 * 
	 * @return the fdNumber
	 */
	public String getFdNumber() {
		return this.fdNumber;
	}

	/**
	 * set the fdNumber - 图号
	 */
	public void setFdNumber(String fdNumber) {
		this.fdNumber = fdNumber;
	}

	/**
	 * get the fdQuality - 材质
	 * 
	 * @return the fdQuality
	 */
	public String getFdQuality() {
		return this.fdQuality;
	}

	/**
	 * set the fdQuality - 材质
	 */
	public void setFdQuality(String fdQuality) {
		this.fdQuality = fdQuality;
	}

	/**
	 * get the fdMetric - 计量单位
	 * 
	 * @return the fdMetric
	 */
	public String getFdMetric() {
		return this.fdMetric;
	}

	/**
	 * set the fdMetric - 计量单位
	 */
	public void setFdMetric(String fdMetric) {
		this.fdMetric = fdMetric;
	}
	
	/**
	 * get the fdMetricName - 计量单位名称
	 * 
	 * @return the fdMetricName
	 */
	public String getFdMetricName() {
		return this.fdMetricName;
	}

	/**
	 * set the fdMetricName - 计量单位名称
	 */
	public void setFdMetricName(String fdMetricName) {
		this.fdMetricName = fdMetricName;
	}


	/**
	 * get the fdPrice - 单价
	 * 
	 * @return the fdPrice
	 */
	public Double getFdPrice() {
		return this.fdPrice;
	}

	/**
	 * set the fdPrice - 单价
	 */
	public void setFdPrice(Double fdPrice) {
		this.fdPrice = fdPrice;
	}

	/**
	 * get the fdSum - 采购数量
	 * 
	 * @return the fdSum
	 */
	public Double getFdSum() {
		return this.fdSum;
	}

	/**
	 * set the fdSum - 采购数量
	 */
	public void setFdSum(Double fdSum) {
		this.fdSum = fdSum;
	}

	/**
	 * get the fdSupplyName - 供应商名称
	 * 
	 * @return the fdSupplyName
	 */
	public String getFdSupplyName() {
		return this.fdSupplyName;
	}

	/**
	 * set the fdSupplyName - 供应商名称
	 */
	public void setFdSupplyName(String fdSupplyName) {
		this.fdSupplyName = fdSupplyName;
	}

	/**
	 * get the fdRecevieSum - 已到货数量
	 * 
	 * @return the fdRecevieSum
	 */
	public Double getFdRecevieSum() {
		return this.fdRecevieSum;
	}

	/**
	 * set the fdRecevieSum - 已到货数量
	 */
	public void setFdRecevieSum(Double fdRecevieSum) {
		this.fdRecevieSum = fdRecevieSum;
	}

	/**
	 * @return the fdStockNum-库存数量//新加字段
	 */
	public Double getFdStockNum() {
		return fdStockNum;
	}

	/**
	 * @param fdStockNum
	 *            the fdStockNum to set-库存数量//新加字段
	 */
	public void setFdStockNum(Double fdStockNum) {
		this.fdStockNum = fdStockNum;
	}

	/**
	 * @return the fdSafeBaseNum-安全库存//新加字段
	 */
	public Double getFdSafeBaseNum() {
		return fdSafeBaseNum;
	}

	/**
	 * @param fdSafeBaseNum
	 *            the fdSafeBaseNum to set-安全库存//新加字段
	 */
	public void setFdSafeBaseNum(Double fdSafeBaseNum) {
		this.fdSafeBaseNum = fdSafeBaseNum;
	}

	/**
	 * @return the fdNeedNum-需求数量//新加字段
	 */
	public Double getFdNeedNum() {
		return fdNeedNum;
	}

	/**
	 * @param fdNeedNum
	 *            the fdNeedNum to set-需求数量//新加字段
	 */
	public void setFdNeedNum(Double fdNeedNum) {
		this.fdNeedNum = fdNeedNum;
	}

	/**
	 * @return the fdMaterialNum-物资种类
	 */
	public Double getFdMaterialNum() {
		return fdMaterialNum;
	}

	/**
	 * @param fdMaterialNum
	 *            the fdMaterialNum to set-物资种类
	 */
	public void setFdMaterialNum(Double fdMaterialNum) {
		this.fdMaterialNum = fdMaterialNum;
	}

	/**
	 * @return the fdYear
	 */
	public String getFdYear() {
		return fdYear;
	}

	/**
	 * @param fdYear
	 *            the fdYear to set
	 */
	public void setFdYear(String fdYear) {
		this.fdYear = fdYear;
	}

	/**
	 * @return the fdMonth
	 */
	public String getFdMonth() {
		return fdMonth;
	}

	/**
	 * @param fdMonth
	 *            the fdMonth to set
	 */
	public void setFdMonth(String fdMonth) {
		this.fdMonth = fdMonth;
	}

	/**
	 * @return the fdPlanStatus
	 */
	public String getFdPlanStatus() {
		return fdPlanStatus;
	}

	/**
	 * @param fdPlanStatus
	 *            the fdPlanStatus to set
	 */
	public void setFdPlanStatus(String fdPlanStatus) {
		this.fdPlanStatus = fdPlanStatus;
	}

	/**
	 * @return the fdPlanNum
	 */
	public Double getFdPlanNum() {
		return fdPlanNum;
	}

	/**
	 * @param fdPlanNum
	 *            the fdPlanNum to set
	 */
	public void setFdPlanNum(Double fdPlanNum) {
		this.fdPlanNum = fdPlanNum;
	}

	/**
	 * @return the fdActualNum
	 */
	public Double getFdActualNum() {
		return fdActualNum;
	}

	/**
	 * @param fdActualNum
	 *            the fdActualNum to set
	 */
	public void setFdActualNum(Double fdActualNum) {
		this.fdActualNum = fdActualNum;
	}

	/**
	 * get the fdRequirePlan - 需求计划
	 * 
	 * @return the fdRequirePlan
	 */
	public String getFdRequirePlan() {
		return this.fdRequirePlan;
	}

	/**
	 * set the fdRequirePlan - 需求计划
	 */
	public void setFdRequirePlan(String fdRequirePlan) {
		this.fdRequirePlan = fdRequirePlan;
	}
	
	/**
	 * get the fdTypeCode - 类别编码
	 * 
	 * @return the fdTypeCode
	 */
	public String getFdTypeCode() {
		return this.fdTypeCode;
	}

	/**
	 * set the fdTypeCode - 类别编码
	 */
	public void setFdTypeCode(String fdTypeCode) {
		this.fdTypeCode = fdTypeCode;
	}

	/**
	 * get the fdTypeName - 类别名称
	 * 
	 * @return the fdTypeName
	 */
	public String getFdTypeName() {
		return this.fdTypeName;
	}

	/**
	 * set the fdTypeName - 类别名称
	 */
	public void setFdTypeName(String fdTypeName) {
		this.fdTypeName = fdTypeName;
	}
	
	/**
	 * get the fdApplicationDepartmentName - 申请单位名称
	 * 
	 * @return the fdApplicationDepartmentName
	 */
	public String getFdApplicationDepartmentName() {
		return this.fdApplicationDepartmentName;
	}

	/**
	 * set the fdApplicationDepartmentName - 申请单位名称
	 */
	public void setFdApplicationDepartmentName(String fdApplicationDepartmentName) {
		this.fdApplicationDepartmentName = fdApplicationDepartmentName;
	}
	
	/**
	 * get the fdRemark - 备注
	 * 
	 * @return the fdRemark
	 */
	public String getFdRemark() {
		return this.fdRemark;
	}

	/**
	 * set the fdRemark - 备注
	 */
	public void setFdRemark(String fdRemark) {
		this.fdRemark = fdRemark;
	}

	/**
	 * get the value from Map
	 */
	@SuppressWarnings("rawtypes")
	public void fromMap(Map map) {

		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdStockPlanId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStockPlanId")), fdStockPlanId));
		setFdMaterialId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialId")), fdMaterialId));
		setFdMaterialCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialCode")), fdMaterialCode));
		setFdMaterialInnerCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialInnerCode")), fdMaterialInnerCode));
		setFdMaterialName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialName")), fdMaterialName));
		setFdSpecModel(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSpecModel")), fdSpecModel));
		setFdNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNumber")), fdNumber));
		setFdQuality(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdQuality")), fdQuality));
		setFdMetric(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetric")), fdMetric));
		setFdMetricName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetricName")), fdMetricName));
		setFdPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdPrice")), fdPrice));
		setFdSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdSum")), fdSum));
		setFdRecevieSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdRecevieSum")), fdRecevieSum));
		setFdSupplyName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSupplyName")), fdSupplyName));
		// x新加字段
		setFdStockNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdStockNum")), fdStockNum));
		setFdSafeBaseNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdSafeBaseNum")), fdSafeBaseNum));
		setFdNeedNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdNeedNum")), fdNeedNum));
		setFdMaterialNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdMaterialNum")), fdMaterialNum));

		setFdYear(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYear")), fdYear));
		setFdMonth(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMonth")), fdMonth));
		setFdPlanStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlanStatus")), fdPlanStatus));

		setFdPlanNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdPlanNum")), fdPlanNum));
		setFdActualNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualNum")), fdActualNum));
		setFdRequirePlan(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRequirePlan")), fdRequirePlan));
		setFdTypeCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeCode")), fdTypeCode));
		setFdTypeName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTypeName")), fdTypeName));
		setFdApplicationDepartmentName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationDepartmentName")), fdApplicationDepartmentName));
		setFdRemark(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRemark")), fdRemark));
	}

	/**
	 * set the value to Map
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public Map toMap() {

		Map map = new HashMap();
		map.put("fdKeyId", StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));
		map.put("fdStockPlanId", StringUtils.toString(fdStockPlanId, eiMetadata.getMeta("fdStockPlanId")));
		map.put("fdMaterialId", StringUtils.toString(fdMaterialId, eiMetadata.getMeta("fdMaterialId")));
		map.put("fdMaterialCode", StringUtils.toString(fdMaterialCode, eiMetadata.getMeta("fdMaterialCode")));
		map.put("fdMaterialInnerCode", StringUtils.toString(fdMaterialInnerCode, eiMetadata.getMeta("fdMaterialInnerCode")));
		map.put("fdMaterialName", StringUtils.toString(fdMaterialName, eiMetadata.getMeta("fdMaterialName")));
		map.put("fdSpecModel", StringUtils.toString(fdSpecModel, eiMetadata.getMeta("fdSpecModel")));
		map.put("fdNumber", StringUtils.toString(fdNumber, eiMetadata.getMeta("fdNumber")));
		map.put("fdQuality", StringUtils.toString(fdQuality, eiMetadata.getMeta("fdQuality")));
		map.put("fdMetric", StringUtils.toString(fdMetric, eiMetadata.getMeta("fdMetric")));
		map.put("fdMetricName", StringUtils.toString(fdMetricName, eiMetadata.getMeta("fdMetricName")));
		map.put("fdPrice", StringUtils.toString(fdPrice, eiMetadata.getMeta("fdPrice")));
		map.put("fdSum", StringUtils.toString(fdSum, eiMetadata.getMeta("fdSum")));
		map.put("fdRecevieSum", StringUtils.toString(fdRecevieSum, eiMetadata.getMeta("fdRecevieSum")));
		map.put("fdSupplyName", StringUtils.toString(fdSupplyName, eiMetadata.getMeta("fdSupplyName")));
		// 新加字段
		map.put("fdStockNum", StringUtils.toString(fdStockNum, eiMetadata.getMeta("fdStockNum")));
		map.put("fdSafeBaseNum", StringUtils.toString(fdSafeBaseNum, eiMetadata.getMeta("fdSafeBaseNum")));
		map.put("fdNeedNum", StringUtils.toString(fdNeedNum, eiMetadata.getMeta("fdNeedNum")));
		map.put("fdMaterialNum", StringUtils.toString(fdMaterialNum, eiMetadata.getMeta("fdMaterialNum")));

		map.put("fdYear", StringUtils.toString(fdYear, eiMetadata.getMeta("fdYear")));
		map.put("fdMonth", StringUtils.toString(fdMonth, eiMetadata.getMeta("fdMonth")));
		map.put("fdPlanStatus", StringUtils.toString(fdPlanStatus, eiMetadata.getMeta("fdPlanStatus")));

		map.put("fdPlanNum", StringUtils.toString(fdPlanNum, eiMetadata.getMeta("fdPlanNum")));
		map.put("fdActualNum", StringUtils.toString(fdActualNum, eiMetadata.getMeta("fdActualNum")));
		map.put("fdRequirePlan", StringUtils.toString(fdRequirePlan, eiMetadata.getMeta("fdRequirePlan")));
		map.put("fdTypeCode", StringUtils.toString(fdTypeCode, eiMetadata.getMeta("fdTypeCode")));
		map.put("fdTypeName", StringUtils.toString(fdTypeName, eiMetadata.getMeta("fdTypeName")));
		map.put("fdApplicationDepartmentName", StringUtils.toString(fdApplicationDepartmentName, eiMetadata.getMeta("fdApplicationDepartmentName")));
		map.put("fdRemark", StringUtils.toString(fdRemark, eiMetadata.getMeta("fdRemark")));
		return map;
	}
}